package com.mgm.constant;

public class GobalConstant {
	
	public static final String HOST_NAME = "http://click.moboair.net"; 
	
	public static final String AUTHORIZATION = "Authorization";  
	
	public static final String AD_PRE = "ad"; //广告主ID前缀
	public static final String AFF_PRE = "aff"; //渠道ID前缀
	
	public static final String ADER_TYPE_NET = "net"; //广告主
	public static final String ADER_TYPE_DIR = "dir"; //直客
	
	//Clickdealer的一些常量
	public static final String CLICKDEALER_ADV_ID = "ad4299"; //广告主ID
	public static final String CLICKDEALER_PUBLISHERID = "8732"; //为我们设置的affid
	public static final String CLICKDEALER_PLACEMENTID = "10219"; //广告位ID
	public static final String CLICKDEALER_APIKEY = "AoqwL3z2w6jsX962lawwZlbkiSXOEvYs"; //Publisher API-Key
	
	//Cheetah的一些常量
	public static final String CHEETAH_ADV_ID = "ad1801"; //广告主ID
	public static final String CHEETAH_APIKEY = "i67nw0hdq8y6jkt9wof6pdvr0sl50ci7"; //Publisher API-Key
	
	//Mobpals的一些常量
	public static final String MOBPALS_ADV_ID = "ad1896"; //广告主ID
	
	//Applift的一些常量
	public static final String APPLIFT_ADV_ID = "ad9250"; //广告主ID
	
	//================= Aff pull offer====================
	public static final Integer DISTRIBUTE_OFFER_SUCCESS = 0; //成功
	public static final Integer DISTRIBUTE_OFFER_PARAM_ERROR = 10; //参数错误 
	public static final Integer DISTRIBUTE_OFFER_NOT_MATCH = 20; //token和 affid不匹配 
	public static final Integer DISTRIBUTE_OFFER_SERVER_ERROR = 50; //服务器错误
	
	
	//==================Click==============================
	public static final Integer CLICK_SUCCESS = 0; //正常click
	public static final Integer CLICK_LACK_PARAMS = 1; //缺少参数
	public static final Integer CLICK_AFF_CLOSE = 2; //渠道关闭
	public static final Integer CLICK_AFF_NO_EXIST = 3; //渠道不存在
	public static final Integer CLICK_OFFER_ERROR = 4; //offer异常
	public static final Integer CLICK_PARAMS_ERROR = 5; //参数异常
	//==================Click==============================
	
	//==================Conversion=========================
	public static final Integer CONVERSION_SUCCESS = 0; //正常conversion
	public static final Integer CONVERSION_OFFER_CLOSE = 1; //offer为关
	public static final Integer CONVERSION_SHAVE = 2; //shave
	public static final Integer CONVERSION_OVER_24H = 3; //超过24h
	public static final Integer CONVERSION_LACK_DEVICE = 4; //缺少设备信息
	public static final Integer CONVERSION_ATTAIN_CAP = 5; //达到cap
	public static final Integer CONVERSION_LIMIT_30S = 6; //距离click小于30秒
	//==================Conversion=========================
	
	public static final Integer PERCENT = 100; //百分比
	public static final Integer PERMILLAGE = 1000; //千分比（千分之一）
	
	
}
